/*
 * Copyright (c) 2008-2012
 * LANIT
 * All rights reserved.
 *
 * This product and related documentation are protected by copyright and
 * distributed under licenses restricting its use, copying, distribution, and
 * decompilation. No part of this product or related documentation may be
 * reproduced in any form by any means without prior written authorization of
 * LANIT and its licensors, if any.
 *
 * $Id$
 */

import java.io.IOException;

/**
 * todo Document type Print
 */
public class Print {

    private static FileFactory fileFactory = null;

    public static void toOut(String stringOut){
              System.out.print(stringOut);
        }
    public static void toFile(String stringOut, String distFile, boolean appendMode) throws IOException {
            fileFactory = new FileFactory();
            fileFactory.writeToFile(distFile,stringOut,appendMode);
        }
}
